﻿ALTER TABLE [dbo].[TreeNodeBase]
    ADD CONSTRAINT [FK_TreeNodeBase_TreeNodeBase] FOREIGN KEY ([ParentNodeID]) REFERENCES [dbo].[TreeNodeBase] ([TreeNodeBaseID]) ON DELETE NO ACTION ON UPDATE NO ACTION;

